package com.tencent.pet.service;

import com.tencent.basic.service.IBaseService;
import com.tencent.pet.domain.Pet;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Rixyo
 * @since 2022-06-18
 */
public interface IPetService extends IBaseService<Pet> {

    /**
     * 批量下架
     * @param ids
     */
    void offsale(Long[] ids);

    /**
     * 批量上架
     * @param ids
     * @param request
     */
    void onsale(Long[] ids, HttpServletRequest request);
}
